package com.sevenGroup.pawnshop.controller.form;

import com.baomidou.mybatisplus.annotation.TableField;
import com.sevenGroup.pawnshop.model.GoodProperties;
import com.sevenGroup.pawnshop.model.LdentificationFigur;
import com.sevenGroup.pawnshop.model.Select;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("")
public class GoodsForm {

    @ApiModelProperty("商品ID")
    private Integer goodId;

    @ApiModelProperty("商品名")
    private String goodName;

    @ApiModelProperty("商品描述")
    private String goodDescribe;

    @ApiModelProperty("一级类别ID")
    private Integer goodFirstTypeId;

    @ApiModelProperty("一级类别名称")
    private String goodFirstType;

    @ApiModelProperty("二级类别ID")
    private Integer goodSecondTypeId;

    @ApiModelProperty("二级类别名称")
    private String goodSecondType;

    @ApiModelProperty("品牌ID")
    private Integer brandId;

    @ApiModelProperty("品牌名")
    private String brandName;

    @ApiModelProperty("门店ID")
    private Integer storeId;

    @ApiModelProperty("门店名")
    private String storeName;

    @ApiModelProperty("仓库ID")
    private Integer warehouseId;

    /**
     * 仓库名
     */
    @ApiModelProperty("仓库名")
    private String warehouseName;

    @ApiModelProperty("用户ID")
    private Integer userId;

    /**
     * 提交的用户名称
     */
    @ApiModelProperty("用户名")
    private String userName;

    /**
     * 收购时间
     */
    @ApiModelProperty("收购时间，格式为2020-02-02 00:00:00")
    private String purchaseTime;

    /**
     * 客户首买价
     */
    @ApiModelProperty("价格")
    private Double firstPurchasePrice;

    @ApiModelProperty("商品属性集合")
    private List<PropertiesForm> goodProperties;

    /**
     * 鉴定图
     */
    @ApiModelProperty("鉴定图集合")
    private List<LdentificationFigur> goodLdentificationFigure;
}
